package com.fire.control.system.statics;


/**
* @ClassName: Status_Warning
* @Description: TODO(报警当前状态)
* @author wanbo
* @date 2017年7月5日 上午9:27:32
*/
public enum Status_Warning {
	
	alarm("报警中"),receive("已接警"),processing("处理中"),declare("故障申报"),applyfor("申请维保"),complete("完成");
	
	private String text;
	
	private Status_Warning(String text){
		this.text = text;
	}
	public String getText() {
		return text;
	}
	
	public static String getValue(String name){
		Status_Warning[] s  = Status_Warning.values();
		for (Status_Warning status_Warning : s) {
			if(name.equals(status_Warning.toString()))return status_Warning.getText();
		}
		return "";
	}
	
}
